![]() |
MPCancelTimer |
||||
Header: | Multiprocessing.h | Carbon status: | Supported | |
Cancels an armed timer.
OSStatus MPCancelTimer ( MPTimerID timerID, AbsoluteTime *timeRemaining );
The ID of the armed timer you want to cancel.
On return, the timeRemaining contains the time remaining before the timer would have expired.
A result code. If the timer has already expired, this function returns kMPInsufficientResourcesErr.
Also see the function MPArmTimer.
Introduced with Multiprocessing Services 2.0.
Supported in Carbon. Available in CarbonLib 1.0 and later when MPLibrary 2.0 or later is installed. Exported by CarbonLib 1.0 and later and by MPLibrary 2.0 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)